package com.fourforfo.fourmall.order.web;

import com.xxl.sso.core.conf.Conf;
import com.xxl.sso.core.user.XxlSsoUser;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;

import javax.servlet.http.HttpServletRequest;

/**
 * @program: xxl-sso-core
 * @description: order前端页面索引Controller
 * @author: fourforfo
 * @email: fourforfo@gmail.com
 * @create: 2022-08-31 13:24
 **/
@Controller
public class IndexController {

    @GetMapping("/confirm.html")
    public String confirmPage(HttpServletRequest request){

        return "confirm";
    }

    @GetMapping("/detail.html")
    public String detailPage( HttpServletRequest request){

        return "detail";
    }

    @GetMapping("/error.html")
    public String errorPage(HttpServletRequest request){

        return "error";
    }

    @GetMapping("/list.html")
    public String listPage(HttpServletRequest request){

        return "list";
    }
}
